package org.login.obj;

import io.netty.channel.Channel;

/**
 * 游戏服节点的信息
 */
public class GameServerContext {
    /**
     * 服务id
     */
    private final int serverId;

    /**
     * 信息通道
     */
    private final Channel channel;

    public GameServerContext(int serverId, Channel channel) {
        this.serverId = serverId;
        this.channel = channel;
    }

    public int getServerId() {
        return serverId;
    }

    public Channel getChannel() {
        return channel;
    }
}
